package advance.app.service;

import advance.app.pojo.DepFileInfo;

import java.util.List;

public interface DepFileInfoService {
    public int saveDepFileInfo(DepFileInfo info);
    public DepFileInfo getLatestInfoByType(String area, String fileType);
    public DepFileInfo getLatestInfoByMid(Integer id);
    public List<String> getAllVerInfoByType(String area, String fileType);
    public int updateDepFileInfo(DepFileInfo info);
    public DepFileInfo getByTypeAndVer(String area, String fileType, String fileName);
    public int deleteByTypeAndVer(String area, String fileType, String fileName);
    List<DepFileInfo> getInfoByAreaAndType(String area, String fileType);
    List<DepFileInfo> getListByArea(String area);
/*
    List<DepFileInfo> getListByAreaAndVer(String area, String fileType,String version);
*/
}
